package cn.wangsy.zhidao.p20170508;

import java.awt.*;
import javax.swing.*;

public class P21_44 {
	public static void main(String[] args) {
		JFrame frame = new JFrame("这是一个窗口");
		frame.setSize(300, 200);
		frame.setLocation(100, 100);
		frame.getContentPane().setBackground(Color.yellow);
		frame.setVisible(true);
	}
}
